<?php
header("Content-Type: application/json");
header("charset: utf-8");
include_once("_common.php");

$univerStr="";
	
$univerSql =  "SELECT a.ADDR, a.UNIVERSITY_NAME   ";
$univerSql .= "  FROM g4_university a     ";
$univerSql .= " WHERE a.SIDO = '".urldecode($SIDO)."'       ";
$univerSql .= "ORDER BY a.UNIVERSITY_NAME";
$mapResult = sql_query($univerSql);

$result_array = array();
//print_r2 ($univerSql);
for ($i=0; $row=sql_fetch_array($mapResult); $i++){
	$result_array[$i] = $row;
	//print_r2 ("aaa");
}
//print_r2 ($mapResult);
//print_r2 ($result_array);
echo json_encode($result_array);
?>